package com.webxiaohua.algorithm.linkedlist;

/**
 * 链表结构
 */
class Node{
    int id;
    Node next;
    public Node(int id){
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Node getNext() {
        return next;
    }

    public void setNext(Node next) {
        this.next = next;
    }
}